const arr=[1,2,3,4]

const [first,secend]=arr;
console.log(first)